package ConnectionsCommands;

import Gear.Factory;

import java.net.Socket;

/**
 * Implement received command to close client connection.
 *
 * @author Rodrigo Martins Racanicci
 */
public class ConnectionCommandClose implements ConnectionCommand {

    @Override
    public void execute(Socket client, String[] args) {
        Factory.getInstance().getTracker().closeClient(client);
    }

}
